package com.joysuch.wwyt.mh.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;

import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zqw
 * @since 2022-05-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_mh_major_hazard_task")
@ApiModel(value="MhMajorHazardTask对象", description="")
public class MhMajorHazardTask extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "计划id")
    private Long planId;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "目标名称")
    private String taskName;

    @ApiModelProperty(value = "周期类型:0周检查 1季度检查")
    private Integer cycleType;

    @ApiModelProperty(value = "循环类型:0周期内循环,1单次")
    private Integer loopType;

    @ApiModelProperty(value = "检查人员类型:检查人员类型:0主要负责人,1技术负责人,2操作负责人")
    private Integer checkUserType;

    @ApiModelProperty(value = "完成期限描述")
    private String deadLineDesc;

    @ApiModelProperty(value = "完成状态:0未完成 1已完成 2 逾期")
    private Integer status;

    @ApiModelProperty(value = "危险源id")
    private Long mhId;

    @ApiModelProperty(value = "制定部门id")
    private Long formulateDepartId;

    @ApiModelProperty(value = "随行人员id集合")
    private String entourageIds;

    @ApiModelProperty(value = "备注")
    private String remark;

}
